package com.cake.dao;

import java.util.List;

import com.cake.dao.base.IBaseDao;
import com.cake.entity.XxBannerImage;

public interface XxBannerImageMapper extends IBaseDao<XxBannerImage> {
    int insert(XxBannerImage record);

    int insertSelective(XxBannerImage record);
    
    /**
     * 查询banner的图片
     * @param bannerId
     * @return
     */
    List<XxBannerImage> selectItemsByBannerId(Long bannerId);
    
    /**
     * 根据bannerId删除对应的图片数据
     * @param bannerId
     * @return
     */
    Integer deleteBannerImagesByBannerId(Long bannerId);
}